Counting solutions to the View Maintenance Problem

نویسندگان

  • Ashish Gupta
  • Dinesh Katiyar
  • Inderpal Singh Mumick
چکیده

We present an incremental evaluation algorithm for materialized views in relational and deductive database systems. The algorithm computes, in an incremental fashion, the changes to the materialized view in response to changes (insertions, deletions, and updates) to the base relations. The view may be deened in SQL or in Datalog, and may use UNION , negation, aggregation (e.g. SUM, MIN), linear recursion, and general recursion. The algorithm is optimal in that it computes exactly those view tuples that are inserted or deleted. The algorithm works by tracking the number of derivation trees ((Mum91, MS92]) for each tuple in the view. The number of derivation trees for a tuple corresponds to the count of a tuple in the duplicate semantics used in relational systems such as those based on SQL. For deductive databases using set semantics, we show that the number of derivation trees for nonrecursive queries can be computed at little or no cost above the cost of evaluating the query. For recursive queries, keeping track of derivation trees may require some additional work. A restriction of our algorithm is that it is applicable to a recursive query only if the number of derivation trees is nite.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Remarks on Modern Track Geometry Maintenance

A short survey on modern track maintenance methods is given, concentrating on the developments in recent years. The ongoing refinement of the machinery should be shown as the influence of IT-solutions. On top the economic view to the track infrastructure is briefly demonstrated. Further developments in track hardware solutions must respect the obtained high level of track work mechanization. H...

متن کامل

A hybrid DEA-based K-means and invasive weed optimization for facility location problem

In this paper, instead of the classical approach to the multi-criteria location selection problem, a new approach was presented based on selecting a portfolio of locations. First, the indices affecting the selection of maintenance stations were collected. The K-means model was used for clustering the maintenance stations. The optimal number of clusters was calculated through the Silhou...

متن کامل

نگهداری و تعمیرات پیشگیرانه و اصلاحی به‌منظور بهره‌وری طول عمر ترانسفورماتور قدرت با درنظرگرفتن تأثیر فرسودگی بر قابلیت اطمینان

This paper presents a lifetime efficiency index model and a developed crow search algorithm (DCSA) in order to achieve optimal maintenance for the power transformer. Not doing maintenance on the power transformer, resulting in instability of the transmission system and not to supply consistently electric energy in the load points. In other words, deterioration of the transmission system effects...

متن کامل

Strategic Planning for the National Bridge Stock of Iran

The National Bridge Stock of Iran consists of about 330,000 bridges, of which around 50% are older than 30 years. Since 2010, Iran Road Maintenance & Transportation Organization has started implementing a comprehensive Bridge Management System in order to manage this aged stock efficiently. To predict future conditions of bridge stock, a heuristic numerical method is presented. This methodology...

متن کامل

MILP Formulation and Genetic Algorithm for Non-permutation Flow Shop Scheduling Problem with Availability Constraints

In this paper, we consider a flow shop scheduling problem with availability constraints (FSSPAC) for the objective of minimizing the makespan. In such a problem, machines are not continuously available for processing jobs due to preventive maintenance activities. We proposed a mixed-integer linear programming (MILP) model for this problem which can generate non-permutation schedules. Furthermor...

متن کامل

Fuzzy Multi-objective Permutation Flow Shop Scheduling Problem with Fuzzy Processing Times under Learning and Aging Effects

In industries machine maintenance is used in order to avoid untimely machine fails as well as to improve production effectiveness. This research regards a permutation flow shop scheduling problem with aging and learning effects considering maintenance process. In this study, it is assumed that each machine may be subject to at most one maintenance activity during the planning horizon. The objec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992